package com.jhgsys.internal.hazard.service;

import com.jhgsys.internal.hazard.entity.AccidentReportSurveyUser;
import com.jhgsys.internal.common.entity.QueryRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 *  Service接口
 *
 * @author zhangwei
 * @date 2024-09-13 10:11:20
 */
public interface IAccidentReportSurveyUserService extends IService<AccidentReportSurveyUser> {
    /**
     * 查询（分页）
     * @author zhangwei
     * @date 2024-09-13 10:11:20
     * @param request QueryRequest
     * @param accidentReportSurveyUser accidentReportSurveyUser
     * @return IPage<AccidentReportSurveyUser>
     */
    IPage<AccidentReportSurveyUser> findAccidentReportSurveyUserPage(QueryRequest request, AccidentReportSurveyUser accidentReportSurveyUser);

    /**
     * 查询（所有）
     * @author zhangwei
     * @date 2024-09-13 10:11:20
     * @param accidentReportSurveyUser accidentReportSurveyUser
     * @return List<AccidentReportSurveyUser>
     */
    List<AccidentReportSurveyUser> findAccidentReportSurveyUserList(AccidentReportSurveyUser accidentReportSurveyUser);

    /**
    * 根据ID查询
    * @author zhangwei
    * @date 2024-09-13 10:11:20
    * @param id
    * @return AccidentReportSurveyUser
    */
    AccidentReportSurveyUser findAccidentReportSurveyUserById(String id);

    /**
     * 新增
     * @author zhangwei
     * @date 2024-09-13 10:11:20
     * @param accidentReportSurveyUser accidentReportSurveyUser
     */
    boolean createAccidentReportSurveyUser(AccidentReportSurveyUser accidentReportSurveyUser);

    /**
     * 修改
     * @author zhangwei
     * @date 2024-09-13 10:11:20
     * @param accidentReportSurveyUser accidentReportSurveyUser
     */
    boolean updateAccidentReportSurveyUser(AccidentReportSurveyUser accidentReportSurveyUser);

    /**
     * 逻辑删除
     * @author zhangwei
     * @date 2024-09-13 10:11:20
     * @param accidentReportSurveyUser accidentReportSurveyUser
     * @param accidentReportSurveyUserIds accidentReportSurveyUserIds
     */
    boolean deleteAccidentReportSurveyUser(AccidentReportSurveyUser accidentReportSurveyUser,String accidentReportSurveyUserIds);

    /**
    * 物理删除
    * @author zhangwei
    * @date 2024-09-13 10:11:20
    * @param accidentReportSurveyUserIds accidentReportSurveyUserIds
    */
    boolean physicallyDeleteAccidentReportSurveyUser(String accidentReportSurveyUserIds);
}
